package com.ruoyi.consumer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司钱包流水记录对象 c_deal_company
 * 
 * @author YFENTEST
 * @date 2023-12-09
 */
public class CDealCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交易记录id编号 */
    private Integer dealRecordId;

    /** 公司id */
    @Excel(name = "公司id")
    private Integer companyId;

    /** 来源用户id */
    @Excel(name = "来源用户id")
    private Integer targetUserId;

    /** 实时业务订单id */
    @Excel(name = "实时业务订单id")
    private Integer deviceOrderId;

    /** 变动量 */
    @Excel(name = "变动量")
    private Long dealAmount;

    /** 业务类型,1充值,2下单 */
    @Excel(name = "业务类型,1充值,2下单")
    private Integer dealType;

    /** 交易设备号 */
    @Excel(name = "交易设备号")
    private String dealFacilitNum;

    /** 是否开发票 */
    @Excel(name = "是否开发票")
    private Integer invoiceStatus;

    /** 钱包变更前数据 */
    @Excel(name = "钱包变更前数据")
    private String dealOriginalJson;

    /** 钱包变更后数据 */
    @Excel(name = "钱包变更后数据")
    private String dealDisposeJson;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 状态，0：正常，1：禁用 */
    @Excel(name = "状态，0：正常，1：禁用")
    private Integer status;

    public void setDealRecordId(Integer dealRecordId) 
    {
        this.dealRecordId = dealRecordId;
    }

    public Integer getDealRecordId() 
    {
        return dealRecordId;
    }
    public void setCompanyId(Integer companyId) 
    {
        this.companyId = companyId;
    }

    public Integer getCompanyId() 
    {
        return companyId;
    }
    public void setTargetUserId(Integer targetUserId) 
    {
        this.targetUserId = targetUserId;
    }

    public Integer getTargetUserId() 
    {
        return targetUserId;
    }
    public void setDeviceOrderId(Integer deviceOrderId) 
    {
        this.deviceOrderId = deviceOrderId;
    }

    public Integer getDeviceOrderId() 
    {
        return deviceOrderId;
    }
    public void setDealAmount(Long dealAmount) 
    {
        this.dealAmount = dealAmount;
    }

    public Long getDealAmount() 
    {
        return dealAmount;
    }
    public void setDealType(Integer dealType) 
    {
        this.dealType = dealType;
    }

    public Integer getDealType() 
    {
        return dealType;
    }
    public void setDealFacilitNum(String dealFacilitNum) 
    {
        this.dealFacilitNum = dealFacilitNum;
    }

    public String getDealFacilitNum() 
    {
        return dealFacilitNum;
    }
    public void setInvoiceStatus(Integer invoiceStatus) 
    {
        this.invoiceStatus = invoiceStatus;
    }

    public Integer getInvoiceStatus() 
    {
        return invoiceStatus;
    }
    public void setDealOriginalJson(String dealOriginalJson) 
    {
        this.dealOriginalJson = dealOriginalJson;
    }

    public String getDealOriginalJson() 
    {
        return dealOriginalJson;
    }
    public void setDealDisposeJson(String dealDisposeJson) 
    {
        this.dealDisposeJson = dealDisposeJson;
    }

    public String getDealDisposeJson() 
    {
        return dealDisposeJson;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dealRecordId", getDealRecordId())
            .append("companyId", getCompanyId())
            .append("targetUserId", getTargetUserId())
            .append("deviceOrderId", getDeviceOrderId())
            .append("dealAmount", getDealAmount())
            .append("dealType", getDealType())
            .append("dealFacilitNum", getDealFacilitNum())
            .append("invoiceStatus", getInvoiceStatus())
            .append("dealOriginalJson", getDealOriginalJson())
            .append("dealDisposeJson", getDealDisposeJson())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("status", getStatus())
            .toString();
    }
}
